package gov.ccswj.modules.bdbusiness.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import gov.ccswj.modules.bdbusiness.dao.BBRecommendResultDao;
import gov.ccswj.modules.bdbusiness.entity.BBRecommendResultEntity;
import gov.ccswj.modules.bdbusiness.service.BBRecommendResultService;



@Service("bBRecommendResultService")
public class BBRecommendResultServiceImpl implements BBRecommendResultService {
	@Autowired
	private BBRecommendResultDao bBRecommendResultDao;
	
	@Override
	public BBRecommendResultEntity queryObject(String id){
		return bBRecommendResultDao.queryObject(id);
	}
	
	@Override
	public List<BBRecommendResultEntity> queryList(Map<String, Object> map){
		return bBRecommendResultDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return bBRecommendResultDao.queryTotal(map);
	}
	
	@Override
	public void save(BBRecommendResultEntity bBRecommendResult){
		bBRecommendResultDao.save(bBRecommendResult);
	}
	
	@Override
	public void update(BBRecommendResultEntity bBRecommendResult){
		bBRecommendResultDao.update(bBRecommendResult);
	}
	
	@Override
	public void delete(String id){
		bBRecommendResultDao.delete(id);
	}
	
	@Override
	public void deleteBatch(String[] ids){
		bBRecommendResultDao.deleteBatch(ids);
	}
	
}
